[INFO] cloning repository https://github.com/KOBA789/rust-reversi
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KOBA789/rust-reversi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKOBA789%2Frust-reversi", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKOBA789%2Frust-reversi'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8cb601080df78b26dc586f1645d4830f5cb663b3
[INFO] checking KOBA789/rust-reversi against master#cfbc6d4cf1acbac5c025acf8ed68929caa551df3 for pr-75494-beta
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKOBA789%2Frust-reversi" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/KOBA789/rust-reversi on toolchain cfbc6d4cf1acbac5c025acf8ed68929caa551df3
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/KOBA789/rust-reversi
[INFO] finished tweaking git repo https://github.com/KOBA789/rust-reversi
[INFO] tweaked toml for git repo https://github.com/KOBA789/rust-reversi written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/KOBA789/rust-reversi already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rayon v1.0.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e26e157fa387c2d8c3b984ff93c17f95e257548597bf4249c6785366cb805d16
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "e26e157fa387c2d8c3b984ff93c17f95e257548597bf4249c6785366cb805d16", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e26e157fa387c2d8c3b984ff93c17f95e257548597bf4249c6785366cb805d16", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e26e157fa387c2d8c3b984ff93c17f95e257548597bf4249c6785366cb805d16", kill_on_drop: false }`
[INFO] [stdout] e26e157fa387c2d8c3b984ff93c17f95e257548597bf4249c6785366cb805d16
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1ae546f45400b5966b0f59a4c58b53153e83ae5772d91ec1e170dbfaf6df8ae5
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "1ae546f45400b5966b0f59a4c58b53153e83ae5772d91ec1e170dbfaf6df8ae5", kill_on_drop: false }`
[INFO] [stderr]     Checking nodrop v0.1.12
[INFO] [stderr]     Checking lazy_static v0.2.11
[INFO] [stderr]     Checking memoffset v0.2.1
[INFO] [stderr]     Checking scopeguard v0.3.3
[INFO] [stderr]     Checking libc v0.2.37
[INFO] [stderr]     Checking either v1.4.0
[INFO] [stderr]     Checking smallvec v0.6.0
[INFO] [stderr]     Checking crossbeam-utils v0.2.2
[INFO] [stderr]     Checking arrayvec v0.4.7
[INFO] [stderr]     Checking crossbeam-epoch v0.3.0
[INFO] [stderr]     Checking crossbeam-deque v0.2.0
[INFO] [stderr]     Checking num_cpus v1.8.0
[INFO] [stderr]     Checking rand v0.4.2
[INFO] [stderr]     Checking rayon-core v1.4.0
[INFO] [stderr]     Checking rayon v1.0.0
[INFO] [stderr]     Checking reversi v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `rhs`
[INFO] [stdout]   --> src/coord.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fn add(self, rhs: Self) -> Self::Output {
[INFO] [stdout]    |                  ^^^ help: if this is intentional, prefix it with an underscore: `_rhs`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rhs`
[INFO] [stdout]   --> src/coord.rs:17:30
[INFO] [stdout]    |
[INFO] [stdout] 17 |     fn add_assign(&mut self, rhs: Self) {
[INFO] [stdout]    |                              ^^^ help: if this is intentional, prefix it with an underscore: `_rhs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/board.rs:50:21
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn index(&self, index: Coord) -> &Self::Output {
[INFO] [stdout]    |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/board.rs:59:29
[INFO] [stdout]    |
[INFO] [stdout] 59 |     fn index_mut(&mut self, index: Coord) -> &mut Self::Output {
[INFO] [stdout]    |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `piece`
[INFO] [stdout]    --> src/board.rs:153:24
[INFO] [stdout]     |
[INFO] [stdout] 153 |     fn get_flip(&self, piece: Piece, mut pos: Coord, dir: Coord) -> u8 {
[INFO] [stdout]     |                        ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pos`
[INFO] [stdout]    --> src/board.rs:153:38
[INFO] [stdout]     |
[INFO] [stdout] 153 |     fn get_flip(&self, piece: Piece, mut pos: Coord, dir: Coord) -> u8 {
[INFO] [stdout]     |                                      ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dir`
[INFO] [stdout]    --> src/board.rs:153:54
[INFO] [stdout]     |
[INFO] [stdout] 153 |     fn get_flip(&self, piece: Piece, mut pos: Coord, dir: Coord) -> u8 {
[INFO] [stdout]     |                                                      ^^^ help: if this is intentional, prefix it with an underscore: `_dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `piece`
[INFO] [stdout]    --> src/board.rs:160:24
[INFO] [stdout]     |
[INFO] [stdout] 160 |     fn get_move(&self, piece: Piece, pos: Coord) -> Move {
[INFO] [stdout]     |                        ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pos`
[INFO] [stdout]    --> src/board.rs:160:38
[INFO] [stdout]     |
[INFO] [stdout] 160 |     fn get_move(&self, piece: Piece, pos: Coord) -> Move {
[INFO] [stdout]     |                                      ^^^ help: if this is intentional, prefix it with an underscore: `_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `piece`
[INFO] [stdout]    --> src/board.rs:167:25
[INFO] [stdout]     |
[INFO] [stdout] 167 |     pub fn moves(&self, piece: Piece) -> Moves {
[INFO] [stdout]     |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `piece`
[INFO] [stdout]    --> src/board.rs:172:29
[INFO] [stdout]     |
[INFO] [stdout] 172 |     fn count_mut(&mut self, piece: Piece) -> &mut u8 {
[INFO] [stdout]     |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `piece`
[INFO] [stdout]    --> src/board.rs:184:27
[INFO] [stdout]     |
[INFO] [stdout] 184 |     fn do_flip(&mut self, piece: Piece, mut pos: Coord, dir: Coord, flip: u8) {
[INFO] [stdout]     |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pos`
[INFO] [stdout]    --> src/board.rs:184:41
[INFO] [stdout]     |
[INFO] [stdout] 184 |     fn do_flip(&mut self, piece: Piece, mut pos: Coord, dir: Coord, flip: u8) {
[INFO] [stdout]     |                                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dir`
[INFO] [stdout]    --> src/board.rs:184:57
[INFO] [stdout]     |
[INFO] [stdout] 184 |     fn do_flip(&mut self, piece: Piece, mut pos: Coord, dir: Coord, flip: u8) {
[INFO] [stdout]     |                                                         ^^^ help: if this is intentional, prefix it with an underscore: `_dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `flip`
[INFO] [stdout]    --> src/board.rs:184:69
[INFO] [stdout]     |
[INFO] [stdout] 184 |     fn do_flip(&mut self, piece: Piece, mut pos: Coord, dir: Coord, flip: u8) {
[INFO] [stdout]     |                                                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_flip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `piece`
[INFO] [stdout]    --> src/board.rs:189:31
[INFO] [stdout]     |
[INFO] [stdout] 189 |     pub fn do_move(&mut self, piece: Piece, mov: &Move) {
[INFO] [stdout]     |                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mov`
[INFO] [stdout]    --> src/board.rs:189:45
[INFO] [stdout]     |
[INFO] [stdout] 189 |     pub fn do_move(&mut self, piece: Piece, mov: &Move) {
[INFO] [stdout]     |                                             ^^^ help: if this is intentional, prefix it with an underscore: `_mov`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/board.rs:153:38
[INFO] [stdout]     |
[INFO] [stdout] 153 |     fn get_flip(&self, piece: Piece, mut pos: Coord, dir: Coord) -> u8 {
[INFO] [stdout]     |                                      ----^^^
[INFO] [stdout]     |                                      |
[INFO] [stdout]     |                                      help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/board.rs:184:41
[INFO] [stdout]     |
[INFO] [stdout] 184 |     fn do_flip(&mut self, piece: Piece, mut pos: Coord, dir: Coord, flip: u8) {
[INFO] [stdout]     |                                         ----^^^
[INFO] [stdout]     |                                         |
[INFO] [stdout]     |                                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `is_in_range`
[INFO] [stdout]   --> src/board.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 34 |     pub fn is_in_range(&self, pos: Coord) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `size`
[INFO] [stdout]   --> src/board.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn size(&self) -> usize {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `ZERO_FLIP`
[INFO] [stdout]   --> src/board.rs:85:1
[INFO] [stdout]    |
[INFO] [stdout] 85 | const ZERO_FLIP: [u8; 8] = [0, 0, 0, 0, 0, 0, 0, 0];
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `is_legal`
[INFO] [stdout]    --> src/board.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 101 |     pub fn is_legal(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `DIRECTIONS`
[INFO] [stdout]    --> src/board.rs:120:1
[INFO] [stdout]     |
[INFO] [stdout] 120 | / const DIRECTIONS: [Coord; 8] = [
[INFO] [stdout] 121 | |     Coord(-1, -1), //左上
[INFO] [stdout] 122 | |     Coord(0, -1),  //真上
[INFO] [stdout] 123 | |     Coord(1, -1),  //右上
[INFO] [stdout] ...   |
[INFO] [stdout] 128 | |     Coord(1, 1),   //右下
[INFO] [stdout] 129 | | ];
[INFO] [stdout]     | |__^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_flip`
[INFO] [stdout]    --> src/board.rs:153:8
[INFO] [stdout]     |
[INFO] [stdout] 153 |     fn get_flip(&self, piece: Piece, mut pos: Coord, dir: Coord) -> u8 {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_move`
[INFO] [stdout]    --> src/board.rs:160:8
[INFO] [stdout]     |
[INFO] [stdout] 160 |     fn get_move(&self, piece: Piece, pos: Coord) -> Move {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `count_mut`
[INFO] [stdout]    --> src/board.rs:172:8
[INFO] [stdout]     |
[INFO] [stdout] 172 |     fn count_mut(&mut self, piece: Piece) -> &mut u8 {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `do_flip`
[INFO] [stdout]    --> src/board.rs:184:8
[INFO] [stdout]     |
[INFO] [stdout] 184 |     fn do_flip(&mut self, piece: Piece, mut pos: Coord, dir: Coord, flip: u8) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/players/negamax.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn new(depth: usize) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 29 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rhs`
[INFO] [stdout]   --> src/coord.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fn add(self, rhs: Self) -> Self::Output {
[INFO] [stdout]    |                  ^^^ help: if this is intentional, prefix it with an underscore: `_rhs`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rhs`
[INFO] [stdout]   --> src/coord.rs:17:30
[INFO] [stdout]    |
[INFO] [stdout] 17 |     fn add_assign(&mut self, rhs: Self) {
[INFO] [stdout]    |                              ^^^ help: if this is intentional, prefix it with an underscore: `_rhs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/board.rs:50:21
[INFO] [stdout]    |
[INFO] [stdout] 50 |     fn index(&self, index: Coord) -> &Self::Output {
[INFO] [stdout]    |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/board.rs:59:29
[INFO] [stdout]    |
[INFO] [stdout] 59 |     fn index_mut(&mut self, index: Coord) -> &mut Self::Output {
[INFO] [stdout]    |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `piece`
[INFO] [stdout]    --> src/board.rs:153:24
[INFO] [stdout]     |
[INFO] [stdout] 153 |     fn get_flip(&self, piece: Piece, mut pos: Coord, dir: Coord) -> u8 {
[INFO] [stdout]     |                        ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pos`
[INFO] [stdout]    --> src/board.rs:153:38
[INFO] [stdout]     |
[INFO] [stdout] 153 |     fn get_flip(&self, piece: Piece, mut pos: Coord, dir: Coord) -> u8 {
[INFO] [stdout]     |                                      ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dir`
[INFO] [stdout]    --> src/board.rs:153:54
[INFO] [stdout]     |
[INFO] [stdout] 153 |     fn get_flip(&self, piece: Piece, mut pos: Coord, dir: Coord) -> u8 {
[INFO] [stdout]     |                                                      ^^^ help: if this is intentional, prefix it with an underscore: `_dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `piece`
[INFO] [stdout]    --> src/board.rs:160:24
[INFO] [stdout]     |
[INFO] [stdout] 160 |     fn get_move(&self, piece: Piece, pos: Coord) -> Move {
[INFO] [stdout]     |                        ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pos`
[INFO] [stdout]    --> src/board.rs:160:38
[INFO] [stdout]     |
[INFO] [stdout] 160 |     fn get_move(&self, piece: Piece, pos: Coord) -> Move {
[INFO] [stdout]     |                                      ^^^ help: if this is intentional, prefix it with an underscore: `_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `piece`
[INFO] [stdout]    --> src/board.rs:167:25
[INFO] [stdout]     |
[INFO] [stdout] 167 |     pub fn moves(&self, piece: Piece) -> Moves {
[INFO] [stdout]     |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `piece`
[INFO] [stdout]    --> src/board.rs:172:29
[INFO] [stdout]     |
[INFO] [stdout] 172 |     fn count_mut(&mut self, piece: Piece) -> &mut u8 {
[INFO] [stdout]     |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `piece`
[INFO] [stdout]    --> src/board.rs:184:27
[INFO] [stdout]     |
[INFO] [stdout] 184 |     fn do_flip(&mut self, piece: Piece, mut pos: Coord, dir: Coord, flip: u8) {
[INFO] [stdout]     |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pos`
[INFO] [stdout]    --> src/board.rs:184:41
[INFO] [stdout]     |
[INFO] [stdout] 184 |     fn do_flip(&mut self, piece: Piece, mut pos: Coord, dir: Coord, flip: u8) {
[INFO] [stdout]     |                                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dir`
[INFO] [stdout]    --> src/board.rs:184:57
[INFO] [stdout]     |
[INFO] [stdout] 184 |     fn do_flip(&mut self, piece: Piece, mut pos: Coord, dir: Coord, flip: u8) {
[INFO] [stdout]     |                                                         ^^^ help: if this is intentional, prefix it with an underscore: `_dir`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `flip`
[INFO] [stdout]    --> src/board.rs:184:69
[INFO] [stdout]     |
[INFO] [stdout] 184 |     fn do_flip(&mut self, piece: Piece, mut pos: Coord, dir: Coord, flip: u8) {
[INFO] [stdout]     |                                                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_flip`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `piece`
[INFO] [stdout]    --> src/board.rs:189:31
[INFO] [stdout]     |
[INFO] [stdout] 189 |     pub fn do_move(&mut self, piece: Piece, mov: &Move) {
[INFO] [stdout]     |                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_piece`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mov`
[INFO] [stdout]    --> src/board.rs:189:45
[INFO] [stdout]     |
[INFO] [stdout] 189 |     pub fn do_move(&mut self, piece: Piece, mov: &Move) {
[INFO] [stdout]     |                                             ^^^ help: if this is intentional, prefix it with an underscore: `_mov`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/board.rs:153:38
[INFO] [stdout]     |
[INFO] [stdout] 153 |     fn get_flip(&self, piece: Piece, mut pos: Coord, dir: Coord) -> u8 {
[INFO] [stdout]     |                                      ----^^^
[INFO] [stdout]     |                                      |
[INFO] [stdout]     |                                      help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/board.rs:184:41
[INFO] [stdout]     |
[INFO] [stdout] 184 |     fn do_flip(&mut self, piece: Piece, mut pos: Coord, dir: Coord, flip: u8) {
[INFO] [stdout]     |                                         ----^^^
[INFO] [stdout]     |                                         |
[INFO] [stdout]     |                                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `DIRECTIONS`
[INFO] [stdout]    --> src/board.rs:120:1
[INFO] [stdout]     |
[INFO] [stdout] 120 | / const DIRECTIONS: [Coord; 8] = [
[INFO] [stdout] 121 | |     Coord(-1, -1), //左上
[INFO] [stdout] 122 | |     Coord(0, -1),  //真上
[INFO] [stdout] 123 | |     Coord(1, -1),  //右上
[INFO] [stdout] ...   |
[INFO] [stdout] 128 | |     Coord(1, 1),   //右下
[INFO] [stdout] 129 | | ];
[INFO] [stdout]     | |__^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/players/negamax.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn new(depth: usize) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 21 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 8.36s
[INFO] running `Command { std: "docker" "inspect" "1ae546f45400b5966b0f59a4c58b53153e83ae5772d91ec1e170dbfaf6df8ae5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1ae546f45400b5966b0f59a4c58b53153e83ae5772d91ec1e170dbfaf6df8ae5", kill_on_drop: false }`
[INFO] [stdout] 1ae546f45400b5966b0f59a4c58b53153e83ae5772d91ec1e170dbfaf6df8ae5
